package com.alinesno.cloud.base.logger.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * <p>
 * 磁盘空间
 * </p>
 *
 * @author WeiXiaoJin
 * @since 2020-01-26 10:17:35
 */
@Entity
@Table(name="log_system_files")
public class LogSystemFilesEntity extends BaseWatcherEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 目录
     */
	@Column(name="dir_name")
	private String dirName;
    /**
     * 剩余空间
     */
	@Column(name="dir_free")
	private String dirFree;
    /**
     * 目录类型
     */
	@Column(name="sys_type_name")
	private String sysTypeName;
    /**
     * 空间大小
     */
	private String total;
    /**
     * 类型名称
     */
	@Column(name="type_name")
	private String typeName;
    /**
     * 使用比率
     */
	@Column(name="files_usage")
	private Double filesUsage;
    /**
     * 已使用
     */
	@Column(name="files_used")
	private String filesUsed;
    /**
     * 所属状态
     */
	@Column(name="system_status_id")
	private String systemStatusId;


	public String getDirName() {
		return dirName;
	}

	public void setDirName(String dirName) {
		this.dirName = dirName;
	}

	public String getDirFree() {
		return dirFree;
	}

	public void setDirFree(String dirFree) {
		this.dirFree = dirFree;
	}

	public String getSysTypeName() {
		return sysTypeName;
	}

	public void setSysTypeName(String sysTypeName) {
		this.sysTypeName = sysTypeName;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	
	
//	public Double getUsage() {
//		return usage;
//	}
//
//	public void setUsage(Double usage) {
//		this.usage = usage;
//	}
//
//	public String getUsed() {
//		return used;
//	}
//
//	public void setUsed(String used) {
//		this.used = used;
//	}

	public Double getFilesUsage() {
		return filesUsage;
	}

	public void setFilesUsage(Double filesUsage) {
		this.filesUsage = filesUsage;
	}

	public String getFilesUsed() {
		return filesUsed;
	}

	public void setFilesUsed(String filesUsed) {
		this.filesUsed = filesUsed;
	}

	public String getSystemStatusId() {
		return systemStatusId;
	}

	public void setSystemStatusId(String systemStatusId) {
		this.systemStatusId = systemStatusId;
	}


	@Override
	public String toString() {
		return "LogSystemFilesEntity{" +
			"dirName=" + dirName +
			", dirFree=" + dirFree +
			", sysTypeName=" + sysTypeName +
			", total=" + total +
			", typeName=" + typeName +
//			", usage=" + usage +
//			", used=" + used +
			", systemStatusId=" + systemStatusId +
			"}";
	}
}
